#!/usr/bin/env bash

pipewire & pipewire-pulse & wireplumber&

/run/current-system/profile/libexec/xdg-desktop-portal-gtk &
/run/current-system/profile/libexec/xdg-desktop-portal-wlr &
/run/current-system/profile/libexec/xdg-desktop-portal -r &

fcitx5 &

caddy file-server --listen :4444 --root ~/Clash/yacd &

if [[ "$(ls /tmp/uscreens/S-goodspeed)" != *clash* ]]; then
	screen -dmS clash ~/Clash/clash-linux-amd64-v1.17.0 -f ~/Clash/config.yaml
fi

keepassxc &
